package com.iotp.service.knowledge;

import com.iotp.entity.knowledge.Knowledge;
import com.iotp.entity.knowledge.KnowledgeWithBLOBs;

import java.util.List;

public interface KnowledgeService {

    public Long add(KnowledgeWithBLOBs knowledgeWithBLOBs);

    public void update(KnowledgeWithBLOBs knowledgeWithBLOBs);

    public KnowledgeWithBLOBs queryById(Long id);

    public List<KnowledgeWithBLOBs> queryList(KnowledgeWithBLOBs knowledgeWithBLOBs);

    public List<Knowledge> queryByTypeId(Long kTypeId);

    public void delete(Long id);

    public List<KnowledgeWithBLOBs> querySc(List ids);

}
